package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface IFDBOrder {
	
	 // get all products
    public ArrayList<Order> getAllOrders(boolean retrieveAssociation);
    //get one Product having the ProductID
    public Order findOrder(int orderID, boolean retrieveAssociation);
    //find one Product having the name
    public int insertOrder(Order ord) throws Exception;
    //update information about a clothing  
    public int updateOrder(Order ord);
    //delete a product
    public int deleteOrder(int orderID);
    
    public int findMaxOrderId();

}
